package com.UnionPayCenter.mapper;

import com.UnionPayCenter.distribution.entity.UserDistributionDO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserDistributionDOMapper {
    int deleteByPrimaryKey(Integer infoSn);

    int insert(UserDistributionDO record);

    int insertSelective(UserDistributionDO record);

    UserDistributionDO selectByPrimaryKey(Integer infoSn);

    int updateByPrimaryKeySelective(UserDistributionDO record);

    int updateByPrimaryKey(UserDistributionDO record);

    UserDistributionDO selectByUserIdAndShopId(@Param("bId") Long bId, @Param("shopId") Long shopId, @Param("userId") Long userId);

    List<UserDistributionDO> listUserDistribution(UserDistributionDO distributionDO);
}